<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加员工</title>
    <%
        request.setAttribute("APP_PATH", request.getContextPath());
    %>
    <script src="${APP_PATH}/static/js/jquery.js"></script>
    <script src="${APP_PATH}/static/laydate/laydate.js"></script>
</head>
<body>
    <form method="post" action="user/saveOneEmp">

    <table align="center">
        <h1 align="center">员 工 注 册 表</h1>

        <tr>
            <td>姓名：</td>
            <td><input type="text" name="name"/></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td>
                <input type="radio" name="gender" value="男" checked="checked"/> 男
                <input type="radio" name="gender" value="女"/> 女
            </td>
        </tr>
        <tr>
            <td>入职日期：</td>
            <td>
                <input name="entry" placeholder="请输入日期" class="laydate-icon" onclick="laydate()">
            </td>
        </tr>
        <tr>
            <td>工资：</td>
            <td><input type="text" name="salary"/></td>
        </tr>
        <tr>
            <td>工作部门：</td>
            <td><input type="text" name="department"/></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"></td>
            <td><input type="reset" value="重置"></td>
        </tr>
    </table>
    </form>

    <script>
        ;!function(){

//laydate.skin('molv');
            laydate({
                elem: '#demo'
            })
        }();
    </script>
</body>
</html>
